#ifndef __LED_H
#define __LED_H

#include "include/ca51m020_config.h"
#include "include/ca51m020sfr.h"
#include "include/ca51m020xsfr.h"
#include "include/gpiodef_m020.h"
#include "include/system_clock.h"

#define led_g(x)  P10=x
#define led_red(x)  P16=x


typedef enum
{
		LowPower =0,
		MediumPower,
		HighPower,
		LedOff,

}LedMode;


extern void led_init(void);
extern void LedModeCtr(LedMode		Mode);

#endif

